//
//  NSMutableDictionary+Additions.m
//  MaiMaiGo
//
//  Created by 孙鹏飞 on 2017/3/30.
//  Copyright © 2017年 qian. All rights reserved.
//

#import "NSMutableDictionary+Additions.h"

@implementation NSMutableDictionary (Additions)

// NSDictionary设值，如果是空，则不设值
- (void)setObjOrNil:(id)anObject forKey:(id <NSCopying>)aKey
{
    if (anObject) {
        [self setObject:anObject forKey:aKey];
    }
}

@end
